Release 10.1A: OpenEdge Getting Started:
Progress OpenEdge Studio


Task list and short procedure

To reach this point, you need to know how to do the following tasks:

  1. Add a prebuilt SDO.
  2. Add a prebuilt SDV.
  3. Link an SDV to an SDO.
  4. Create and resize a button.
  5. Enhance a button with a ToolTip, a Help ID, and an image.
  6. Link a Help file to a window.
  7. Code a launch trigger for a button using the Section Editor.

The following short procedure outlines how to complete these tasks.

To build the Customer section:

  1. Add a prebuilt SDO, dcust.w, to the Customer section.
  2. See the "Adding a SDO" section to review this procedure.

  3. Add a prebuilt SDV, vcust.w, to the Customer section.
  4. See the "Adding a SDV" section to review this procedure.

  5. Create a Data SmartLink from the SDO to the SDV.
  6. See Step 3 in the "Adding a SDV" section to review this procedure.

  7. Create an Update SmartLink from the SDV to the SDO.
  8. See Step 4 in the "Adding a SDV" section to review this procedure.

  9. Create two buttons with the following properties:
  10. Object
    Left
    Height
    Width
    ToolTip
    Help ID
    Image
    BUTTON-1
    14
    2.38
    10
    Find Customer
    1
    Findcust.jpg 
    
    BUTTON-2
    14
    2.38
    10
    Maintain Customer
    2
    mntcust.jpg 
    

    Note: The image files are stored in the images subdirectory of your working directory.

    See the "Creating and positioning the buttons" section and the "Adding ToolTips, help IDs, and images to the buttons" section to review this procedure.

  11. Link a help file to your window.
  12. See the "Adding online help to the window" section to review this procedure.

  13. Write CHOOSE event triggers for the buttons in the Section Editor.
  14. See the "Coding event triggers for the buttons" section to review this procedure.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095